/*
 * @Descripttion:
 * @version:
 * @Date: 2021-04-21 09:18:32
 * @LastEditors: huzhushan@126.com
 * @LastEditTime: 2022-09-27 18:51:35
 * @Author: huzhushan@126.com
 * @HomePage: https://huzhushan.gitee.io/vue3-element-admin
 * @Github: https://github.com/huzhushan/vue3-element-admin
 * @Donate: https://huzhushan.gitee.io/vue3-element-admin/donate/
 */
const Layout = () => import('@/layout/index.vue')
//导入组件
const ServiceMonitoring = () => import('@/views/monitor/ServiceMonitoring.vue')
const CacheMonitoring = () => import('@/views/monitor/CacheMonitoring.vue')
//注意事项：必须保证路由的name属性值是唯一的
export default [
  {
    path: '/monitor',
    component: Layout,
    name: 'monitor',
    meta: {
      title: '系统监控',
    },
    icon: 'Location',
    children: [
      {
        path: '/servicemonitoring',
        name: 'servicemonitoring',
        component: ServiceMonitoring,
        meta: {
          title: '服务监控',
        },
      },
      {
        path: '/cachemonitoring',
        name: 'cachemonitoring',
        component: CacheMonitoring,
        meta: {
          title: '缓存监控',
        },
      },
    ],
  },
]
